Regular Description of Context-Free Graph Languages
نویسندگان
چکیده
A set of (labeled) graphs can be de ned by a regular tree language and one regular string language for each possible edge label, as follows. For each tree t from the regular tree language the graph gr(t) has the same nodes as t (with the same labels), and there is an edge with label from node x to node y if the string of labels of the nodes on the shortest path from x to y in t belongs to the regular string language for . Slightly generalizing this de nition scheme, we allow gr(t) to have only those nodes of t that have certain labels, and we allow a relabeling of these nodes. It is shown that in this way exactly the class of C-edNCE graph languages (generated by C-edNCE graph grammars) is obtained, one of the largest known classes of context-free graph languages.
منابع مشابه
Logical Description of Contex-Free Graph Languages
A graph language L is in the class C-edNCE of context-free edNCE graph languages if and only if L = f(T) where f is a function on graphs that can be deened in monadic second-order logic and T is the set of all trees over some ranked alphabet. This logical characterization implies a large number of closure and decidability properties of the context-free edNCE graph languages. Rather than context...
متن کاملConcatenation of Graphs
An operation of concatenation is introduced for graphs. Then strings are viewed as expressions denoting graphs, and string languages are interpreted as graph languages. For a class K of string languages, Int(K) is the class of all graph languages that are interpretations of languages from K. For the class REG of regular languages, Int(REG) might be called the class of regular graph languages; i...
متن کاملParsing with Pictures
The development of elegant and practical algorithms for parsing context-free languages is one of the major accomplishments of 20 century Computer Science. These algorithms are presented in the literature using string rewriting systems or abstract machines like pushdown automata, but the resulting descriptions are unsatisfactory for several reasons. First, even a basic understanding of parsing a...
متن کاملStrongly Regular Grammars and Regular Approximation of Context-Free Languages
We consider algorithms for approximating context–free grammars by regular grammars, making use of Chomsky’s characterization of non–self–embedding grammars as generating regular languages and a transformation by Mohri and Nederhof on sets of mutually recursive nonterminals. We give an exposition of strongly regular grammars and this transformation, and use it as a subprocedure to obtain tighter...
متن کاملBoolean algebras of unambiguous context-free languages
Several recent works have studied subfamilies of deterministic context-free languages with good closure properties, for instance the families of input-driven or visibly pushdown languages, ormore generally families of languages accepted by pushdown automatawhose stack height can be uniquely determined by the input word read so far. These ideas can be described as a notion of synchronization. In...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Comput. Syst. Sci.
دوره 53 شماره
صفحات -
تاریخ انتشار 1996